package com.nbst.model.base;

import java.util.Date;

/**
 * 
 * @ClassName: User
 * @Description:用户管理
 * @author King
 * @date 2018-8-27
 * 
 */
public class User extends OrderBy {
	/** id */
	private Integer id;

	/** 帐号 */
	private String account;

	/** 密码 */
	private String password;

	/** 姓名 */
	private String name;

	/** 帐号对应的员工卡号 */
	private String userCode;

	/** 备注 */
	private String remark;

	/** 部门id */
	private Integer fDepId;

	/** 关闭标志 0关闭 */
	private Integer fClosed;

	/** 数据权限 */
	private Integer fDataPermission;

	/** 时间 */
	private Date fDate;

	/** 停用标志 0停用 */
	private Integer fStop;

	/** 最后登录时间 */
	private Date fLogDate;

	/** 制单人 */
	private Integer fBiller;

	/** 多个角色id的拼接 */
	private String rIds;

	/** 多个部门id的拼接 */
	private String dids;

	/** erp中的用户id */
	private Integer erpUserId;

	/** erp中的员工id */
	private Integer empId;

	/** 车间id */
	private Integer fWorkShopId;

	/** 代管仓库id,每个仓库id中间用,分隔 */
	private String fStockIDs;

	/** 供应商id */
	private Integer fSupplierId;

	/** 客户id */
	private Integer fCustomerId;

	/** 报工台角色 */
	private String bgtRole;

	/** 身份证号 */
	private String fID;

	public Integer getfSupplierId() {
		return fSupplierId;
	}

	public void setfSupplierId(Integer fSupplierId) {
		this.fSupplierId = fSupplierId;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account == null ? null : account.trim();
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password == null ? null : password.trim();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	public String getUserCode() {
		return userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode == null ? null : userCode.trim();
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

	public Integer getfDepId() {
		return fDepId;
	}

	public void setfDepId(Integer fDepId) {
		this.fDepId = fDepId;
	}

	public Integer getfClosed() {
		return fClosed;
	}

	public void setfClosed(Integer fClosed) {
		this.fClosed = fClosed;
	}

	public Integer getfDataPermission() {
		return fDataPermission;
	}

	public void setfDataPermission(Integer fDataPermission) {
		this.fDataPermission = fDataPermission;
	}

	public Date getfDate() {
		return fDate;
	}

	public void setfDate(Date fDate) {
		this.fDate = fDate;
	}

	public Integer getfStop() {
		return fStop;
	}

	public void setfStop(Integer fStop) {
		this.fStop = fStop;
	}

	public Date getfLogDate() {
		return fLogDate;
	}

	public void setfLogDate(Date fLogDate) {
		this.fLogDate = fLogDate;
	}

	public Integer getfBiller() {
		return fBiller;
	}

	public void setfBiller(Integer fBiller) {
		this.fBiller = fBiller;
	}

	public String getrIds() {
		return rIds;
	}

	public void setrIds(String rIds) {
		this.rIds = rIds;
	}

	public String getDids() {
		return dids;
	}

	public void setDids(String dids) {
		this.dids = dids;
	}

	public Integer getErpUserId() {
		return erpUserId;
	}

	public void setErpUserId(Integer erpUserId) {
		this.erpUserId = erpUserId;
	}

	public Integer getEmpId() {
		return empId;
	}

	public void setEmpId(Integer empId) {
		this.empId = empId;
	}

	public Integer getfWorkShopId() {
		return fWorkShopId;
	}

	public void setfWorkShopId(Integer fWorkShopId) {
		this.fWorkShopId = fWorkShopId;
	}

	public String getfStockIDs() {
		return fStockIDs;
	}

	public void setfStockIDs(String fStockIDs) {
		this.fStockIDs = fStockIDs;
	}

	public Integer getfCustomerId() {
		return fCustomerId;
	}

	public void setfCustomerId(Integer fCustomerId) {
		this.fCustomerId = fCustomerId;
	}

	public String getBgtRole() {
		return bgtRole;
	}

	public void setBgtRole(String bgtRole) {
		this.bgtRole = bgtRole;
	}

	public String getfID() {
		return fID;
	}

	public void setfID(String fID) {
		this.fID = fID;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", account=" + account + ", password=" + password + ", name=" + name + ", userCode="
				+ userCode + ", remark=" + remark + ", fDepId=" + fDepId + ", fClosed=" + fClosed + ", fDataPermission="
				+ fDataPermission + ", fDate=" + fDate + ", fStop=" + fStop + ", fLogDate=" + fLogDate + ", fBiller="
				+ fBiller + ", rIds=" + rIds + ", dids=" + dids + ", erpUserId=" + erpUserId + ", empId=" + empId
				+ ", fWorkShopId=" + fWorkShopId + ", fStockIDs=" + fStockIDs + ", fSupplierId=" + fSupplierId
				+ ", fCustomerId=" + fCustomerId + ", bgtRole=" + bgtRole + ", fID=" + fID + "]";
	}

}